package com.huawei.esdk.uc.jna.mode;

import com.huawei.esdk.uc.jna.Constants.AccountType;

/**
 * 呼叫对象信息
 * @author lWX169831
 *
 */
public class CallMember
{
    private int memberType = AccountType.UC_ACCOUNT;
    
    private String member;
    
    private VideoFrameParmas videoFrameParmas;
    
    /**
     * 默认为语音呼叫
     * @param memberType
     * @param member
     */
    public CallMember(int memberType, String member)
    {
        this.memberType = memberType;
        this.member = member;
    }
    
    /**
     * 如果videoFrameParmas为null，则默认为语音呼叫（isVideo为默认值false）
     * @param memberType
     * @param member
     * @param isVideo
     * @param videoFrameParmas
     */
    public CallMember(int memberType, String member, VideoFrameParmas videoFrameParmas)
    {
        this(memberType, member);
        this.videoFrameParmas = videoFrameParmas;
    }

    public int getMemberType()
    {
        return memberType;
    }

    public void setMemberType(int memberType)
    {
        this.memberType = memberType;
    }

    public String getMember()
    {
        return member;
    }

    public void setMember(String member)
    {
        this.member = member;
    }

    public VideoFrameParmas getVideoFrameParmas()
    {
        return videoFrameParmas;
    }

    public void setVideoFrameParmas(VideoFrameParmas videoFrameParmas)
    {
        this.videoFrameParmas = videoFrameParmas;
    }
    
}
